<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Adorn 装饰 | MyUI 4.x</title>
    <meta name="generator" content="VuePress 1.7.1">
    <link rel="icon" href="/my/favicon.ico">
    <script>
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?c4e5f73318b5cb0c389e3d9a05f831cc";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
    <meta name="description" content="MyUI是美亚柏科旗下新德汇出品的Web前端一站式项目工程框架，专注于公检法行业中台系统快速搭建，框架已在多个项目实战检验。">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    
    <link rel="preload" href="/my/assets/css/0.styles.7b4fbe45.css" as="style"><link rel="preload" href="/my/assets/js/app.7d5cd858.js" as="script"><link rel="preload" href="/my/assets/js/561.c5708d9e.js" as="script"><link rel="preload" href="/my/assets/js/1633.64442713.js" as="script"><link rel="preload" href="/my/assets/js/1405.11084e9d.js" as="script"><link rel="preload" href="/my/assets/js/1093.63416e8d.js" as="script">
    <link rel="stylesheet" href="/my/assets/css/0.styles.7b4fbe45.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/my/" class="home-link router-link-active"><img src="/my/img/logo.png" alt="MyUI 4.x" class="logo"> <span class="site-name can-hide">MyUI 4.x</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/my/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/my/ui/components/" class="nav-link">
  组件
</a></div><div class="nav-item"><a href="/my/ui/charts/" class="nav-link">
  图表
</a></div><div class="nav-item"><a href="/my/ui/map/" class="nav-link">
  地图
</a></div><div class="nav-item"><a href="/my/ui/go/" class="nav-link">
  关系图
</a></div><div class="nav-item"><a href="/my/ui/icon/" class="nav-link">
  图标
</a></div><div class="nav-item"><a href="/my/ui/dv/" class="nav-link router-link-active">
  大屏
</a></div><div class="nav-item"><a href="/my/ui/pages/" class="nav-link">
  页面
</a></div><div class="nav-item"><a href="http://newgateway.gitee.io/my-web/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  演示
  <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="JSDoc" class="dropdown-title"><span class="title">JSDoc</span> <span class="arrow down"></span></button> <button type="button" aria-label="JSDoc" class="mobile-dropdown-title"><span class="title">JSDoc</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/my/api/components.html" class="nav-link">
  基础组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/utils.html" class="nav-link">
  工具函数
</a></li><li class="dropdown-item"><!----> <a href="/my/api/charts.html" class="nav-link">
  图表组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/map.html" class="nav-link">
  地图组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/dv.html" class="nav-link">
  可视化大屏
</a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/my/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/my/ui/components/" class="nav-link">
  组件
</a></div><div class="nav-item"><a href="/my/ui/charts/" class="nav-link">
  图表
</a></div><div class="nav-item"><a href="/my/ui/map/" class="nav-link">
  地图
</a></div><div class="nav-item"><a href="/my/ui/go/" class="nav-link">
  关系图
</a></div><div class="nav-item"><a href="/my/ui/icon/" class="nav-link">
  图标
</a></div><div class="nav-item"><a href="/my/ui/dv/" class="nav-link router-link-active">
  大屏
</a></div><div class="nav-item"><a href="/my/ui/pages/" class="nav-link">
  页面
</a></div><div class="nav-item"><a href="http://newgateway.gitee.io/my-web/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  演示
  <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="JSDoc" class="dropdown-title"><span class="title">JSDoc</span> <span class="arrow down"></span></button> <button type="button" aria-label="JSDoc" class="mobile-dropdown-title"><span class="title">JSDoc</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/my/api/components.html" class="nav-link">
  基础组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/utils.html" class="nav-link">
  工具函数
</a></li><li class="dropdown-item"><!----> <a href="/my/api/charts.html" class="nav-link">
  图表组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/map.html" class="nav-link">
  地图组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/dv.html" class="nav-link">
  可视化大屏
</a></li></ul></div></div> <!----></nav>  <ul class="sidebar-links"><li><a href="/my/ui/dv/" aria-current="page" class="sidebar-link">可视化大屏</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>基础组件</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/my/ui/dv/page.html" class="sidebar-link">Page 页面组件</a></li><li><a href="/my/ui/dv/screen.html" class="sidebar-link">Screen 场景组件</a></li><li><a href="/my/ui/dv/box.html" class="sidebar-link">Box 容器</a></li><li><a href="/my/ui/dv/loading.html" class="sidebar-link">Loading 加载</a></li><li><a href="/my/ui/dv/header.html" class="sidebar-link">Header 页头</a></li><li><a href="/my/ui/dv/border.html" class="sidebar-link">Border 边框</a></li><li><a href="/my/ui/dv/adorn.html" aria-current="page" class="active sidebar-link">Adorn 装饰</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn1" class="sidebar-link">Adorn1</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn2" class="sidebar-link">Adorn2</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn3" class="sidebar-link">Adorn3</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn4" class="sidebar-link">Adorn4</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn5" class="sidebar-link">Adorn5</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn6" class="sidebar-link">Adorn6</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn7" class="sidebar-link">Adorn7</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn8" class="sidebar-link">Adorn8</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn9" class="sidebar-link">Adorn9</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn10" class="sidebar-link">Adorn10</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn11" class="sidebar-link">Adorn11</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn12" class="sidebar-link">Adorn12</a></li><li class="sidebar-sub-header"><a href="/my/ui/dv/adorn.html#adorn13" class="sidebar-link">Adorn13</a></li></ul></li><li><a href="/my/ui/dv/icon.html" class="sidebar-link">Icon 图标</a></li><li><a href="/my/ui/dv/menu.html" class="sidebar-link">Menu 导航菜单</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>图表组件</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>数据展示</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>动效组件</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="adorn-装饰"><a href="#adorn-装饰" class="header-anchor">#</a> Adorn 装饰</h1> <p>装饰是一系列的组件集合，你可以使用装饰去点缀你的页面，以增强视觉效果，与边框组件相同，他们也是用SVG元素绘制的。</p> <div class="custom-block tip"><p class="custom-block-title">提示</p> <p>所有边框都继承 <a href="/my/api/dv.html?url=%2Fmy%2Fapi%2Fdv%2Fmodule-%24ui_dv_my-dv-box.html" target="_blank" data-v-352a8ad9>MyDvBox <span data-v-352a8ad9><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p></div> <p>边框组件除了有MyDvBox的全部特性之外，部分装饰还有以下自己的通用属性</p> <table><thead><tr><th>参数</th> <th>说明</th> <th>类型</th> <th>可选值</th> <th>默认值</th></tr></thead> <tbody><tr><td>color</td> <td>边框颜色</td> <td>string</td> <td>—</td> <td>—</td></tr> <tr><td>fill</td> <td>背景颜色</td> <td>String</td> <td>—</td> <td>transparent</td></tr> <tr><td>reverse</td> <td>翻转180度</td> <td>Boolean</td> <td>-</td> <td></td></tr></tbody></table> <h2 id="adorn1"><a href="#adorn1" class="header-anchor">#</a> Adorn1</h2> <!----><h2 id="adorn2"><a href="#adorn2" class="header-anchor">#</a> Adorn2</h2> <!----><h2 id="adorn3"><a href="#adorn3" class="header-anchor">#</a> Adorn3</h2> <!----><h2 id="adorn4"><a href="#adorn4" class="header-anchor">#</a> Adorn4</h2> <!----><h2 id="adorn5"><a href="#adorn5" class="header-anchor">#</a> Adorn5</h2> <!----><h2 id="adorn6"><a href="#adorn6" class="header-anchor">#</a> Adorn6</h2> <!----><h2 id="adorn7"><a href="#adorn7" class="header-anchor">#</a> Adorn7</h2> <!----><h2 id="adorn8"><a href="#adorn8" class="header-anchor">#</a> Adorn8</h2> <!----><h2 id="adorn9"><a href="#adorn9" class="header-anchor">#</a> Adorn9</h2> <!----><h2 id="adorn10"><a href="#adorn10" class="header-anchor">#</a> Adorn10</h2> <!----><h2 id="adorn11"><a href="#adorn11" class="header-anchor">#</a> Adorn11</h2> <!----><h2 id="adorn12"><a href="#adorn12" class="header-anchor">#</a> Adorn12</h2> <!----><h2 id="adorn13"><a href="#adorn13" class="header-anchor">#</a> Adorn13</h2> <!----></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
      ←
      <a href="/my/ui/dv/border.html" class="prev">
        Border 边框
      </a></span> <span class="next"><a href="/my/ui/dv/icon.html">
        Icon 图标
      </a>
      →
    </span></p></div> </main></div><div class="global-ui"></div></div>
    <script src="/my/assets/js/app.7d5cd858.js" defer></script><script src="/my/assets/js/561.c5708d9e.js" defer></script><script src="/my/assets/js/1633.64442713.js" defer></script><script src="/my/assets/js/1405.11084e9d.js" defer></script><script src="/my/assets/js/1093.63416e8d.js" defer></script>
  </body>
</html>
